import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

import store from './store'


import ElementPlus from 'element-plus'
import 'element-plus/dist/index.css'

import '@/assets/styles/border.css'
import '@/assets/styles/reset.css'

import  '@/router/permission.js'

// 国际化中文
import zhCn from 'element-plus/es/locale/lang/zh-cn'
import {myFunc} from "@/sys/mixinFunc";

// import SvgIcon from '@/icons'
//
// createApp(App).use(store).use(router).use(ElementPlus).mount('#app')
import SvgIcon from '@/icons'
const app=createApp(App);

SvgIcon(app);

app.mixin(myFunc);

app.use(ElementPlus, {
    locale: zhCn,
})

app.use(store)
app.use(router)
app.use(ElementPlus)
app.mount('#app')
